package SoftwareConfiguration;

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.wb.swt.SWTResourceManager;

public class SoftwareConfiguration_1_SetExampleMessage extends Composite {
	private Text text;
	private Text text_1;
	private Text text_2;
	private Text text_3;

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public SoftwareConfiguration_1_SetExampleMessage(Composite parent, int style) {
		super(parent, style);
setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		

		
		Label lblNewLabel = new Label(this, SWT.NONE);
		lblNewLabel.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel.setBounds(93, 10, 227, 23);
		lblNewLabel.setText("软件配置(任务分配)");
		lblNewLabel.setFont(new Font(getDisplay(), "宋体",18,SWT.RIGHT));
		
		Label label = new Label(this, SWT.NONE);
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setText("请选择设备分配的参数");
		label.setBounds(129, 39, 132, 23);
		
		Label label_1 = new Label(this, SWT.NONE);
		label_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_1.setText("设备数：");
		label_1.setBounds(187, 68, 48, 23);
		
		Label label_2 = new Label(this, SWT.NONE);
		label_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_2.setText("任务数：");
		label_2.setBounds(433, 68, 51, 23);
		
		Label label_3 = new Label(this, SWT.NONE);
		label_3.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_3.setText("子系统数：");
		label_3.setBounds(174, 97, 61, 23);
		
		Label label_4 = new Label(this, SWT.NONE);
		label_4.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_4.setText("各子系统任务数：");
		label_4.setBounds(388, 97, 96, 23);

		
		text = new Text(this, SWT.BORDER);
		text.setBounds(251, 65, 102, 23);
		
		text_1 = new Text(this, SWT.BORDER);
		text_1.setBounds(505, 65, 102, 23);
		
		text_2 = new Text(this, SWT.BORDER);
		text_2.setBounds(251, 94, 102, 23);
		
		text_3 = new Text(this, SWT.BORDER);
		text_3.setBounds(505, 97, 102, 23);
		

		
		Button btnNewButton = new Button(this, SWT.NONE);
		btnNewButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		btnNewButton.setBounds(284, 168, 80, 27);
		btnNewButton.setText("清空");
		
		Button btnNewButton_1 = new Button(this, SWT.NONE);
		btnNewButton_1.setBounds(418, 168, 80, 27);
		btnNewButton_1.setText("保存");
		
		Label label_7 = new Label(this, SWT.NONE);
		label_7.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_7.setText("请在下图中标记出DIMA的次序：");
		label_7.setBounds(129, 271, 230, 23);
		
		Composite composite = new Composite(this, SWT.NONE);
		composite.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		composite.setBounds(129, 300, 491, 233);
		composite.setBackgroundImage(SWTResourceManager.getImage("./images/u250.png"));
		
		Button button = new Button(this, SWT.NONE);
		button.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		button.setText("返回");
		button.setBounds(284, 551, 80, 27);
		
		Button button_1 = new Button(this, SWT.NONE);
		button_1.setText("确定");
		button_1.setBounds(418, 551, 80, 27);


	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
